package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Spending;
import cn.wolfcode.crm.query.SpendingQueryObject;

import java.util.List;

public interface SpendingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Spending record);

    Spending selectByPrimaryKey(Long id);

    List<Spending> selectAll();

    int updateByPrimaryKey(Spending record);

    int queryCount(SpendingQueryObject qo);

    List<Spending> queryList(SpendingQueryObject qo);

    void audit(Spending spending);
}